evaluate the definite integral of a polynomial